package cn.yiyuan.base.customCode;

/**
 * 这是一个常量类,后续如果有其他的一些常量,都可以放在这个class里面
 */
public class BaseConstants {

    public static final String CAR_TYPE_TREE_IN_REDIS = "car_type_tree_in_redis";

    //店铺状态
    public class  Shop{
        public static final int STATE_WAIT_AUDIT = 1 ; //"待审核";
        public static final int STATE_WAIT_ACTIVE = 2 ; //"审核通过，待激活";
        public static final int STATE_ACTIVE_SUCCESS = 3 ; //"激活成功";
        public static final int STATE_REJECT_AUDIT = 4 ; //"驳回";
    }

    // 店铺操作类型  1=入驻 2=审核成功 3=审核驳回 4=激活
    // ctrl+shift+u 可以转大写或小写
    // ctrl+alt+m 抽取方法
    public class  ShopOperateType{
        public static final int OPERATE_TYPE_REGISTER = 1 ; //入驻
        public static final int OPERATE_TYPE_AUDIT_SUCCESS = 2 ; //审核成功
        public static final int OPERATE_TYPE_AUDIT_REJECT = 3 ; //驳回
        public static final int OPERATE_TYPE_ACTIVE_SUCCESS= 4 ; //激活
    }

    //员工状态
    public class Employee{
        public static final int STATE_WAIT_AUDIT = -1 ; //"待激活",
        public static final int STATE_NORMAL = 1 ; //"正常",
        public static final int STATE_LOCK = 2 ; //"锁定",
        public static final int STATE_LOGOUT = 3 ; //"注销"
    }

    public class Car{
        public static final int CAR_STATE_ONSALE = 1 ; //上架
        public static final int CAR_STATE_OFFSALE = 0 ; //下架
    }
}